package com.zbkj.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 微信模板
 * </p>
 *
 * @author Your Name
 * @since 2024-12-02
 */
@Data
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
@TableName("eb_template_message")
@ApiModel(value="TemplateMessage对象", description="微信模板")
public class TemplateMessage implements Serializable {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "模板id")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty(value = "0=订阅消息,1=微信模板消息")
      private Boolean type;

      @ApiModelProperty(value = "模板编号")
      private String tempKey;

      @ApiModelProperty(value = "模板名")
      private String name;

      @ApiModelProperty(value = "回复内容")
      private String content;

      @ApiModelProperty(value = "模板ID")
      private String tempId;

      @ApiModelProperty(value = "状态")
      private Integer status;

      @ApiModelProperty(value = "添加时间")
      private LocalDateTime createTime;

      @ApiModelProperty(value = "更新时间")
      private LocalDateTime updateTime;


}
